package com.never.website.dao;

import java.util.List;
import org.springframework.stereotype.Repository;

import com.never.website.model.Account;

@Repository
public interface AccountDao{
	public int registerAcount(Account account);
	public boolean checkExistAccount(String username);
	public boolean checkExistEmail(String email);
	public List<Account> getAllAccount();
	public Account getUserByName(String username, String role);
}
